home *** CD-ROM | disk | FTP | other *** search
- /errorMsg { erasepage initmatrix initclip initgraphics 72 72 moveto
- /Helvetica findfont 12 scalefont setfont show
- (: ) show 100 string cvs show
- showpage stop } def
-
- errordict begin
-
- /dictfull { (dictfull) errorMsg } def
- /dictstackoverflow { (dictstackoverflow) errorMsg } def
- /dictstackunderflow { (dictstackunderflow) errorMsg } def
- /execstackoverflow { (execstackoverflow) errorMsg } def
- /handleerror { (handleerror) errorMsg } def
- /invalidaccess { (invalidaccess) errorMsg } def
- /invalidfileaccess { (invalidfileaccess) errorMsg } def
- /invalidfont { (invalidfont) errorMsg } def
- /invalidrestore { (invalidrestore) errorMsg } def
- %/ioerror { (ioerror) errorMsg } def
- /limitcheck { (limitcheck) errorMsg } def
- /nocurrentpoint { (nocurrent point) errorMsg } def
- /rangecheck { (rangecheck) errorMsg } def
- /stackoverflow { (stackoverflow) errorMsg } def
- /stackunderflow { (stackunderflow) errorMsg } def
- /syntaxerror { (syntaxerror) errorMsg } def
- /timeout { (timeout) errorMsg } def
- /typecheck { (typecheck) errorMsg } def
- /undefined { (undefined) errorMsg } def
- /undefinedfilename { (undefinedfilename) errorMsg } def
- /undefinedresult { (undefinedresult) errorMsg } def
- /unmatchedmark { (unmatchedmark) errorMsg } def
- /unregistered { (unregistered) errorMsg } def
- /VMerror { (VMerror) errorMsg } def
- /undefined { (undefined) errorMsg } def
- /nocurrentpoint { pop 0 0 } def
- end
- statusdict /waittimeout 120 put
- 100 dict begin
-
- /bitmap { gsave
- 72 hres div 72 vres div scale
- translate exch dup 8 idiv dup 512 ge
- { pop 512 } if /picstr exch string
- def exch true [1 0 0 1 0 0]
- { currentfile picstr readhexstring pop } imagemask
- grestore
- } def
-
- /showpic { gsave
- 72 hres div 72 vres div scale
- translate true exch [1 0 0 1 0 0] exch cvx imagemask
- grestore
- }def
- /m { exch 72 mul hres div exch 72 mul vres div moveto } def
- /mx { 72 mul hres div currentpoint exch pop moveto } def
- /my { 72 mul vres div currentpoint pop exch moveto } def
- /ry { 72 mul vres div 0 exch rmoveto } def
- %/s { 72 mul hres div exch 0 exch 32 exch widthshow } def
-
- /mv { exch 72 mul hres div exch 72 mul vres div moveto } def
- /mvb { exch x add 72 mul hres div exch y add 72 mul vres div moveto } def
- /s { 3 1 roll mv { pop pop mv } exch kshow } def
- /sbs { mvb { pop pop mvb } str kshow } def
- /sb { /x 0 def
- /y 0 def
- /dy exch def
- /dx exch def
- /cnt exch def
- /str exch def
- 1 1 cnt { pop counttomark copy sbs /x x dx add def /y y dy add def } for
- cleartomark } def
-
- /b { 72 mul hres div /ax exch def
- /bc exch def
- 72 mul hres div /cx exch
- def /str exch def
- currentpoint /y exch def /x exch def
- sb currentpoint 1 1 bc { pop sb } for moveto
- } def
- /fr { gsave 0 setgray
- 72 mul vres div /ly exch def
- 72 mul hres div /lx exch def
- 72 mul vres div /uy exch def
- 72 mul hres div /ux exch def
- currentpoint
- ux uy moveto lx uy lineto lx ly lineto ux ly lineto closepath fill
- moveto grestore
- } def
- /fgr { gsave
- 100 exch sub 100 div setgray
- 72 mul vres div /ly exch def
- 72 mul hres div /lx exch def
- 72 mul vres div /uy exch def
- 72 mul hres div /ux exch def
- ux uy moveto lx uy lineto lx ly lineto ux ly lineto closepath fill
- grestore
- } def
- /f { findfont exch dup /size exch def scalefont setfont } def
- /rm { exch 72 mul hres div exch 72 mul vres div rmoveto } def
-
- /u { size mul 100 div setlinewidth
- size mul 100 div /uloffset exch def
- currentpoint /uly exch def /ulx exch def s
- currentpoint /cury exch def /curx exch def
- newpath ulx uly uloffset add moveto
- curx cury uloffset add lineto stroke
- curx cury moveto
- } def
- /ss { /ssoffset exch def
- 0 ssoffset size mul 100 div rmoveto s
- 0 ssoffset size mul 100 div neg rmoveto
- } def
-
-